#ifndef ADDRESSBOOKMANAGEMENT_PERSONMANAGEMENT_H
#define ADDRESSBOOKMANAGEMENT_PERSONMANAGEMENT_H
#include "AddressBook.h"
#include <iostream>
#include <sstream>
using namespace std;

class PersonManagement {
private:
    void showMenu();
    int functionSwitch(int mode,AddressBook* book);
    int waitInput(AddressBook* book);
    void allFriend(AddressBook* book);
    void addFriend(AddressBook* book);
    void deleteFriend(AddressBook *book);
    void getStorage(AddressBook* book);
    AddressBook* createBook(int bookSize);
    int enterSize();
public:
    void start();
};
#endif //ADDRESSBOOKMANAGEMENT_PERSONMANAGEMENT_H
